/* 
Milestone Project style sheet
Filename: Life experiences/Hobby.css

Author: Andres Marzan
Date: 05/11/25
Project Milestone - IT240 Web Fluency
*/

/* reset styles */
html {
    font-size: 16px;
}
body, div, footer, header, h1, p {
    border: 0;
    padding: 0;
    margin: 0;
}

/* body and page container */
.container {
    max-width: 700px;
    margin: 0 auto;
    background-color: ivory;
    position: relative;
 }
 
 body {
    font-family:"Times New Roman", Times, serif;
    border-left: 1px solid skyblue;
    border-right: 1px solid skyblue;
    background-color: rgb(255, 255, 255);
    box-shadow: 0 10px 6px -6px #777;
 }

 /* header section */
header {
    width: 100%;
    max-width: 700px;
    position: relative;
    padding: 0em;
    background-color: goldenrod;
 }
 h1 {
    padding: 0em;
    color: red;
    text-align: center;
    font-weight: 550;
    font-size: 3em;
    font-family: Italianno, 'Times New Roman', Times, serif;
    text-shadow: 2px -1px 2px goldenrod
 }
header p {
   text-align: center;
   color: red;
   padding: 0.5em;
   font-size: 1.5em;
   font-style: italic;
}

/* site navigation bar */
nav.sitenavigation {
   background-color: black;
   text-align: center;
   font-style: italic;
   font-size: 1.2em;
}
nav.sitenavigation p {
   display: inline-block;
   margin: 0.4em 0.6em;
   font-size: 0.9em;
}

nav.sitenavigation a:link {
   color: goldenrod;
   text-decoration: none;
}
nav.sitenavigation a:visited {
   color: white;
}
nav.sitenavigation a:hover, nav.sitenavigation a:focus {
   color: yellow;
   text-shadow: 1px -1px 0 black;
}
nav.sitenavigation a:active {
   position: relative;
   top: 1px;
   left: 1px;
} 

/* Main Content */
article {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2% 1em;
    background-color: ivory;
    overflow: auto;
 }

 article h2 {
   font-size: 1.3em;
   color: goldenrod;
   margin-bottom:-2em;
 }

 article h3, h4, h5 {
    font-size: 1.3em;
    color: goldenrod;
    margin-bottom: -2em;
 }

 article h6 {
   font-size: 1.3em;
   text-align: center;
   font-style: italic;
   color: goldenrod;
   margin-bottom: 0em;
 }

 article p {
    padding-top: 3em;
    font-style: italic;
    font-weight: lighter;
    font-size: 1.2em;
 }

 article div.section1 p.imagemap {
    text-align: center;
 }
 article div.section1 p.imagemap img {
    border: 1px solid black;
    max-width: none;
 }
 article div.section1 figure {
    max-width: 100%;
    margin-left: 2em;
    float: right;
 }
 article div.section1 figure.picture {
    margin-top: 2em;
 }
 article div.section1 figcaption {
    text-align: center;
 }

 article div.section2 p.imagemap {
    text-align: center;
 }
 article div.section2 p.imagemap img {
    border: 1px solid black;
    max-width: none;
 }
 article div.section2 figure {
    max-width: 100%;
    margin-left: 2em;
    float: left;
 }
 article div.section2 figure.picture {
    margin-top: 2em;
 }
 article div.section2 figcaption {
    text-align: center;
 }

 article div.section3 figure {
    max-width: 100%;
    margin-left: 5em;
    float: center;
 }
 article div.section3 figure.picture {
    margin-top: 2em;
 }
 article div.section3 p {
   font-size: 1.3em;
   font-weight: bold;
   text-align: center;
   color: goldenrod;
   margin-bottom: 0em;
 }

 /* footer section */
 footer {
    padding: 0.6em;
    color: black;
    font-size: 1.5em;
    font-style: italic;
    background-color: goldenrod;
    text-align: center;
    clear: right;
    margin: 0em;
}

/* print styles */
@media print {
   .container, h1, h2, header p, p {
      color: black;
      background-color: white;
   }
   nav {
    display: none;
   }
}
@page {
   margin: 1in;
}

